<style type="text/css">
	*{ font-family:sans-serif;font-size:9pt}
	h3{text-align:center;font-variant:small-caps;margin-top:2cm}
	table{border-spacing:0}
	td{vertical-align:top;padding:1mm .5mm}
	#deliveryaddress{position:absolute;top:1cm;right:1cm;height:5cm;width:5cm;text-align:center}
	#otheraddresses{margin-top:20px}
	#otheraddresses *{font-weight:bold}
	#invoiceinfo{margin-top:1cm;font-size:10pt}
	#items{width:100%;margin-top:1cm}
	#items th{font-size:10pt}
	#items tr.spacer td.line{height:3cm;border-bottom:.01mm solid #000}
	#items td.noborder{border:none;text-align:right}
	#items td.totals{text-align:right;}
	.bottom *{font-size:10pt}
	.quantitycell{text-align:center}
	.descriptioncell{text-align:center}
	.unitamountcell{text-align:right}
	.amountcell{text-align:right}
	.unitamountheader{text-align:right}
	.amountheader{text-align:right}
	#logo{width:288px;font-size:7pt;text-align:center}
	#logo span{font-size:8.5pt}
</style>
<div id="deliveryaddress">
{{$FirstName}} {{$Surname}}<br />
{{$Street}}<br />
{{$Street2}}<br />
{{$Town}}<br />
{{$County}}<br />
{{$Country}}<br />
</div>
	<div id="logo"><strong>COMPANY NAME</strong><br />
	Address, Town, County, Country<br />
	Tel: 1234 5678 &nbsp; &nbsp; Fax: 1234 5678<br />
	Email: sales@example.com</div>
	<div id="invoiceinfo"><span style="font-size: 8pt;">No. {{$_invoicenumber}}<br />
	{{$smarty.now|date_format}}<br />
	VAT: 12345678</span><br />
	<br />
	<br />
	<br />
	<br />
	<br />
	{{if $Billing_FirstName}}
	{{$Billing_FirstName}} {{$Billing_Surname}}<br />
	{{$Billing_Street}}<br />
	{{$Billing_Street2}}<br />
	{{$Billing_Town}}<br />
	{{$Billing_County}}<br />
	{{$Billing_Country}}
{{else}}
	{{$FirstName}} {{$Surname}}<br />
	{{$Street}}<br />
	{{$Street2}}<br />
	{{$Town}}<br />
	{{$County}}<br />
	{{$Country}}
{{/if}}
</div>
{{$_invoice_table}}
